var fileName = __filename;
var dirName = __dirname;
var gmType = fileName.replace(dirName, "").slice(3).slice(0,-3);
console.log(gmType);


var gm = {
    type : gmType,
    zoneId : "",
    mailId : "",
    itemId : "",
    itemNum : "",
    resId : "",
    resNum : "",
    unionHonor : "",
    unionPoint: "",
    unionExp : "",
    param : "",
};

if (parseInt(gmType) != 1) {
    console.error("type error");
    return;
}


module.exports = JSON.stringify(gm);